<?php
/**
 * Search a contact in the database using the Search Engine
 * module.
 *
 * @author Xavier VILAIN
 * @package Shama\Contact
 * @license
 */

use Shama\Messages;
use Shama\Contact;

$searchScreen = new Fox\Html\Screen\Search\Basic("search",new Contact());
$searchScreen->screen()->pageTitle(Msg(Messages::BUNDLE,Messages::TITLE_SEARCH_CONTACT));
$searchScreen->grid(Xview::instance()->component("contacts","result"));
echo $searchScreen->render();